projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac10c6
)
(HAVE_PNG): Check for the presence of
author
Gerd Moellmann
<gerd@gnu.org>
Tue, 21 Nov 2000 10:41:33 +0000
(10:41 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Tue, 21 Nov 2000 10:41:33 +0000
(10:41 +0000)
png_get_channels to rule out older PNG libs.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 54ea7a70fa02ffa4e0174e2efdd6507adba452b8..c62f6c3c305d7b78ff32e5139421f75918275b1e 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1839,7
+1839,7
@@
if test "${HAVE_X11}" = "yes"; then
old_c_flags="${CFLAGS}"
CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
AC_CHECK_HEADER(png.h,
- AC_CHECK_LIB(png, png_
set_expand
, HAVE_PNG=yes, , -lX11 -lz -lm))
+ AC_CHECK_LIB(png, png_
get_channels
, HAVE_PNG=yes, , -lX11 -lz -lm))
CFLAGS="${old_c_flags}"
fi